const permissionsRouter = require("express").Router();
const permissionsController = require("../../controller/permissions/index");

permissionsRouter
	.get("/", permissionsController.getPermissions)
	.post("/", permissionsController.createPermission)
	.put("/", permissionsController.updatePermission)
	.delete("/", permissionsController.deletePermission);

module.exports = permissionsRouter;
